package com.lagou.homework03;


public class CoderExceptionTest {


    public static void main(String[] args) {
        //都满足条件
        Coder c1  = new Coder("张飞",30);
        System.out.println("c1 = "+ c1);
        //年龄不满足条件
        Coder c2 = new Coder("张飞",9);
        System.out.println("c2 = "+ c2);
        //姓名不满足条件
        Coder c3  = new Coder("",30);
        System.out.println("c3 = "+ c3);


    }
}
